#pragma once
#include "IWriter.h"
#include <iostream>
#include <fstream>

class __declspec(dllexport) FileWriter: public virtual IWriter
{
private:

	FILE* fileURL;

public:
	/**
	Virtual method. Write to file (file destination fileURL) integers number in matrix format.
	Param: src - sourse matrix
	*/
	virtual bool Write (const MatrixData& src) const;
	/**
	Virtual method. Set destination file URL(file destination fileURL).
	Param: FileURL - char* text URL on destination file.
	*/
	virtual bool setFileURL(char* FileURL);
	/**
	Constructor
	*/
	FileWriter(void);
	/**
	Virtual destructor 
	*/
	virtual ~FileWriter(void);
};

